﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace RoutingDaemon.ServerInterface.Commands
{
    class ADDUSERCommand : DaemonCommandBase
    {
        public ADDUSERCommand(string[] parameters) 
        {
            if (parameters.Length > 0)
            {
                this.Nickname = parameters[0];
            }
        }

        public string Nickname { get; set; }

       

        public override string ExecuteCommand()
        {
            CommandHandlers.ADDUSERCommandHandler handler = new global::RoutingDaemon.ServerInterface.CommandHandlers.ADDUSERCommandHandler();
            return handler.HandleCommand(this);
        }
    }
}
